Migrated code to Loom sprint28 release

Switched from cocos2d to new loom package APIs.