Moved game logic from acceleration component to lua script
Entities now created through lua scripts. Animation state change now also passes animationID along.