organize to classes, code for easy porting to android with the Pygame Subset for Android