Refactoring of routes and handlers.
Added some login redirects.
Added schema migration.
Actualize TODO.
Added jetty server and some tests.
Rename migration methods to UP and DOWN.