Major refactoring

Moved lots of code from chessboardviewmodel to chessboard. Lots of the code in the view model dealt with the model and thus had to be moved.
Refactoring fix

After refactoring the GeneratePiecesLocation method wasn't working properly becuase I changed from changing instance variables to properties. This is now remedied.