Working CodeGeneration before minifying for BA
Code Cleanup and Added JavaDocs