created controllers for list and item