Added Yardoc documentation

Please review my code