Create cli base class and option class.