Updated event system, input system and base class

Working build, index.html and animations.html are working examples
Animations itself are still WIP