Change resource to the more appropriate resources
Add edit and index interfaces