Added hasmap for class names

Allows you to save the class files at runtime, easy to access, less
prone to breakage