Extracted local/GAE functionality into separate handlers