Engine encapsulation halfway done. Added basic behaviours, but they are
more like update functions than intents, which is what they need to be.