Rewrite code for future changes Suggested structure: - extensions.ts - ClassGen.ts - - FileFactory (handle file output) - - FileBuilder (handle file processing) - - ExtensionConfig (handle extension config manipulations) - - ExtensionEvent (core functionality)