Small robustness fixes
Initial version of BuildingAgent