change class to module for petshop-dogsrepo