added basic documenation using yardoc