make routing auth simpler
move router under static middleware to avoid calling it tons
Merge remote-tracking branch 'origin/master'
make 2dsphere work
consolidate some common code into functions and middleware