added api documentation
linked api documentation