Cleaned up the backend controller, added support for delete, and improved error handling.