Clean up of middleware functions
Prep for logger formats
Clean up godocs
Clean up godocs
Update to tests