<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def main(self, config_filename):
 """ The "main" of the wrapper generator. Returns 0 on success, 1 if one or more errors occurred. :param str config_filename: The name of the configuration file. :rtype: int """

        self._read_configuration_file(config_filename)

        if self._wrapper_class_name:
            self._io.title('Wrapper')

            self.__generate_wrapper_class()
        else:
            self._io.log_verbose('Wrapper not enabled')

        return 0