Finish port to google app engine / webapp2