changing the name of controller from Dog to DogController