add REST-API-tests
refactor: move REST-API to its own app