Abstract class to make the design of controllers easier for Cocos2d for iPhone