Animate

Hi Max, first integration of animation system with dreem, ready for review
The problem is there is no object to set oninit on, since it doesnt exist yet at this point. I would need an postinit event that is called after all oninits.