MovementSystem implementation and EntitySystemAppState refactoring

I refactored EntitySystemAppState to be better to use and to avoid rewriting the same code in every system again.