Using a custom logger to clean up all of the `Debug` checks
Breaking out the HTTP handler funcs and such into their own file