Cleaning of code and re-design of buildings done

I've cleaned up how the program does things in the sense of how it gets
the values it needs but an unexpected bug has come up where once you add
a building you can no longer move the map to the right or down and
regenerating means that the map moves itself to the left and up without
actually activating either of the move subs in btn tile.
Merged Dan's latest changes