DB schema and some REST API.