Introduce createclass tool for CLI usage
Bugfix in base - class events are now optional
createclass is safer - checks for existance of file
Code pretiffication
Magic driver method implementation, EntityModel now extends BaseSingleton, more tests