updated documentation
added API parts