Web application framework ported from google's webapp2