Added a .yardopts to standardize the documentation.
Cleaned up the documentation and a little code.