Commented code to death.
Fixed some memory issues.
Now reading from binary file.
Next step is probably to start adding controls to manipulate the board.