public function modules()
    {
        $predefinedDirectories = ['core', 'components'];
        $return                = [];
        foreach ($predefinedDirectories as $predefinedDirectory) {
            $directoryPath = base_path("src/{$predefinedDirectory}");
            $directories   = $this->filesystem->directories($directoryPath);
            foreach ($directories as $directory) {
                $size  = 0;
                $files = $this->filesystem->allFiles($directory);
                foreach ($files as $file) {
                    $size += $file->getSize();
                }
                $return[$predefinedDirectory][] = [
                    'directory'   => $predefinedDirectory . DIRECTORY_SEPARATOR . last(explode(DIRECTORY_SEPARATOR, $directory)),
                    'files_count' => count($files),
                    'size'        => $this->humanFileSize($size, 'MB'),
                ];
            }
        }
        return $this->presenter->modules($return);
    }