Major revamp of the SQL database communications. Farmer and Sheep are
now objects as well, for easier handling with the rest of the program.
Not sure how good everything works yet though...