add Conf and Func class