Api draft

First API draft for this project