Refactored: migration to compoundjs

* Backend migration to compoundjs

**We shouldn't merge this before the tutorial is updated in the wiki**