Completed model and controller code
1. GET, PUT and DELETE request are added
2. Removed public folder as it will never be used