Add automatic class generator
Updating script to automatically generate classes