Update and rename board.rb to lib/board.rb

* Moved into library
* Added documentation