Moved all functions and database to GAE.