created animal abstract class with all attributes