buildings add based on available resouces. refactors to use new player model