Moved more queries out of the global stmt holder. Refactored several things.
Moved more files into subpackages 2/?
Moved more routes into the router generator. Renamed a few of the routes. Refactored the router generator. Fixed PreRoute. Began work on letting plugins plug into the template transpiler.