Fixed generating of class file names from paths
Fixed other extranious (non-perl) characters from appearing in module names
Fixed repeated "use" statements
Added try/catch around method generation so that working methods can be generated