Framework for android games