Makes the entity manager configurable
Merge pull request #9 from GromNaN/em

Make the entity manager configurable