Cleaned up some dependencies, added graceful closing of database connections,
changed the way views are rendered/routed to be more flexible. started using
template inheritance to make that cleaner too.