Added ability to create lots of classes from memory