added structure/town framework, some pathfinding fixes