Changed structure of perl modules to be more useful.