Create Main and Animal classes.