REST API, tests and readme