change layout to use appengine sdk