API documentation

Signed-off-by: Kwpolska <kwpolska@gmail.com>