Refactoring routes to use resources
Adding feature to delete pictures