Adding script to generate classes