creates Dog Class