Styling and session creation on request start

It's recommended to create the DB session when a request starts, and not
at import time. Then the session can be stored in the 'g' global.

Some code reorganization, and some model readability improvements (which
are very subjective, of course, but PEP8-compliant)
Add basic HTML templates (and some mockups)
Add package requires and watchers