added a counter for the number of times a box should move, and added sql database connectivity via the internet.