migration to webapp2 and python 2.7