Moved cell type registry from Cell to map, made it non-static. Added default-constructed cell type instead of default value cell type. Added OutOfMap exception instead of returning default cell.
Added RUNNING state, added autocontrol feature.
Changed pathfinder from class to a plain func. Added pathfinding tracking to running state.