Added ability to spawn entities and a player object