Working on buildings and player logic