Added rake doc to build yard documentation

  also completed missing doc for public api