move players to be handled by entitymanager
let the rest of the entities be handled by entitymanager
use lua for all configurations and keysets and make it safer to access the values