add first proof-of-concept for API
add documentation