gato's app base framework