Minor refactoring of entity rendering
Added basic pathfinding for mobs