Expanded the board a little.
made the API work in such a way that it had a reference to a global board.
updated the main to also contain a global reference to a board.