Deleted index file and added controllers for notes and comments model