Making an Android game framework and using it