Added jQuery UI & dragging of buildings
Improved handling of drag and cleaned up code