Create dogclass