Refined the API backend
Created by: MikkelAas
- added more status code responses to the api endpoints
- the agent controller classes now returns errors instead of strings
- made two more interfaces
- fixed errors that made the express server crash
Created by: MikkelAas