Adding module_list() and module_folders into the new Modules class so it's all in one place and we're not polluting the global namespace with these.