added api documentation to wiki & readme