set up foundation for app engine