setup _modules as empty array on initialization