Use loki-behaviors.
Refactor out entity factory.
Adding gravity exposed bugs in tile map, now fixed.