Refactor

Switch to webapp2 and separate html into a different file.