Implemented simple event system

Wrapped cocos2d's debug log - to be used by any portable ultilities