Created a dog class, code restructuring continues