public function createModuleClass($module, $names, OutputInterface $output)
    {
        $source = realpath(__DIR__ . '/../src/module.txt');
        $file = file_get_contents($source);
        $file = str_replace("!module", ucfirst($names), $file);
        $file = str_replace("!date",date('d/m/Y'),$file);
        $file = str_replace("!time",date('HH:mm:ss'),$file);
        if (!file_exists($module."/".$names."/Modules.php")) {
            $fh = fopen($module."/".$names."/Modules.php", "w");
            fwrite($fh, $file);
            fclose($fh);

            $className = ucfirst($names) . ".php";

            return $output->writeln("Created config $className in modules");
        } else {
            return $output->writeln("Class modules already Exists!");
        }
    }