Cleaned up templates, added basic test, added SQLAlchemy to support simple request tracking in the db