basic framework for gwtp and gae