Improved the ability to create classes, fixed major bugs.