This reworking is designed to setup the placing of declarations in their correct files. That is, one global declaration (class or enum) per file, with orphaned functions, variables, etc being placed in a class based on the file name they came from. At this point orphaned declarations are not being output at all as I havent set up the infrastructure to match them with files yet.