Feature/3 rest api

To keep the feedback cycle tight, testing was pushed to the next batch (since we don't yet have a testing strategy).