Created middleware module. Added some DRY principles to the way things are loaded. Finished the module of route parsing/creation.