Adjust according to latest changes in table names etc.
API and endpoint definition
Add service script