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

* Moved to library
* Added documentation