Add support for pseudo-namespaced classes to generator, allow overwrite of existing files (through method argument)