Updated buildingWork with better comments and changed the way that building variables are stored for easier calling