Initial work on separating out communication with Rest server
Add additional support for interacting with appengine service