Engine is ok

As usually it is fun to code game engine. I hope that the needed fun gameplay will come later (somehow).