Reworked code gen logic to create namespaces, classes and interfaces without underscores and to pascal case them. This makes for cleaner generated code. Cleaned up the test code as well.