1) sync with Engine

2) added game specific entity factory
3) creating entities from xml (WIP)