diff --git a/app/services/projects/import_export/import_service.rb b/app/services/projects/import_export/import_service.rb
index 3efddf75e48994c35baf2843329e231298509638..d188b2dc83bbb6820a51989e1d302b27cbd1a75d 100644
--- a/app/services/projects/import_export/import_service.rb
+++ b/app/services/projects/import_export/import_service.rb
@@ -8,7 +8,7 @@ module Projects
       private
 
       def restore_project_tree
-        Projects::ImportExport::ProjectTreeRestorer.new(path: @import_path).restore
+        Gitlab::ImportExport::ProjectTreeRestorer.new(path: @import_path).restore
       end
 
       def restore_repo
diff --git a/app/services/projects/import_export/members_mapper.rb b/lib/gitlab/import_export/members_mapper.rb
similarity index 99%
rename from app/services/projects/import_export/members_mapper.rb
rename to lib/gitlab/import_export/members_mapper.rb
index 6d49d901bf3fca6fc7f78b802bcd5f029405cca6..d6124106f575fc0b7f86e2e3a2bb4da54380c5e8 100644
--- a/app/services/projects/import_export/members_mapper.rb
+++ b/lib/gitlab/import_export/members_mapper.rb
@@ -1,4 +1,4 @@
-module Projects
+module Gitlab
   module ImportExport
     class MembersMapper
 
diff --git a/app/services/projects/import_export/project_factory.rb b/lib/gitlab/import_export/project_factory.rb
similarity index 98%
rename from app/services/projects/import_export/project_factory.rb
rename to lib/gitlab/import_export/project_factory.rb
index 1ca0cfb8673bbfde93fe23b9ab4b8bb38441d2f2..c7137844a0a286a78a969795f260b0d2905d6354 100644
--- a/app/services/projects/import_export/project_factory.rb
+++ b/lib/gitlab/import_export/project_factory.rb
@@ -1,4 +1,4 @@
-module Projects
+module Gitlab
   module ImportExport
     module ProjectFactory
       extend self
diff --git a/app/services/projects/import_export/project_tree_restorer.rb b/lib/gitlab/import_export/project_tree_restorer.rb
similarity index 89%
rename from app/services/projects/import_export/project_tree_restorer.rb
rename to lib/gitlab/import_export/project_tree_restorer.rb
index 62d3e06fdcdd723891569780fc4c07f027435289..4c0f6a2267bf75efda23179303b3fc7652e649fa 100644
--- a/app/services/projects/import_export/project_tree_restorer.rb
+++ b/lib/gitlab/import_export/project_tree_restorer.rb
@@ -1,4 +1,4 @@
-module Projects
+module Gitlab
   module ImportExport
     class ProjectTreeRestorer
       attr_reader :project
@@ -18,7 +18,7 @@ module Projects
       private
 
       def members_map
-        @members ||= Projects::ImportExport::MembersMapper.map(
+        @members ||= Gitlab::ImportExport::MembersMapper.map(
           exported_members: @project_members, user: @user, project_id: project.id)
       end
 
@@ -37,7 +37,7 @@ module Projects
       end
 
       def default_relation_list
-        Projects::ImportExport::ImportExportReader.tree.reject { |model| model.is_a?(Hash) && model[:project_members] }
+        Gitlab::ImportExport::ImportExportReader.tree.reject { |model| model.is_a?(Hash) && model[:project_members] }
       end
 
       def project
@@ -46,7 +46,7 @@ module Projects
 
       def create_project
         project_params = @tree_hash.reject { |_key, value| value.is_a?(Array) }
-        project = Projects::ImportExport::ProjectFactory.create(
+        project = Gitlab::ImportExport::ProjectFactory.create(
           project_params: project_params, user: @user)
         project.save
         project
@@ -79,7 +79,7 @@ module Projects
       end
 
       def relation_from_factory(relation, relation_hash)
-        Projects::ImportExport::RelationFactory.create(
+        Gitlab::ImportExport::RelationFactory.create(
           relation_sym: relation, relation_hash: relation_hash.merge('project_id' => project.id), members_map: members_map)
       end
     end
diff --git a/app/services/projects/import_export/relation_factory.rb b/lib/gitlab/import_export/relation_factory.rb
similarity index 99%
rename from app/services/projects/import_export/relation_factory.rb
rename to lib/gitlab/import_export/relation_factory.rb
index 8fce8757228b016b3c3b8436b3bb8ef7652b943a..dd992ef443eed3d53bbc26fa257b1c75136335fc 100644
--- a/app/services/projects/import_export/relation_factory.rb
+++ b/lib/gitlab/import_export/relation_factory.rb
@@ -1,4 +1,4 @@
-module Projects
+module Gitlab
   module ImportExport
     module RelationFactory
       extend self
diff --git a/spec/services/projects/import_export/members_mapper_spec.rb b/spec/lib/gitlab/import_export/members_mapper_spec.rb
similarity index 91%
rename from spec/services/projects/import_export/members_mapper_spec.rb
rename to spec/lib/gitlab/import_export/members_mapper_spec.rb
index e222dd420536a29f702fd6ec4e38ccd283a286a9..9175356c641a1ae0fc9892ae3a1935f39128cf40 100644
--- a/spec/services/projects/import_export/members_mapper_spec.rb
+++ b/spec/lib/gitlab/import_export/members_mapper_spec.rb
@@ -1,6 +1,6 @@
 require 'spec_helper'
 
-describe Projects::ImportExport::MembersMapper, services: true do
+describe Gitlab::ImportExport::MembersMapper, services: true do
   describe :map do
 
     let(:user) { create(:user) }
@@ -31,7 +31,7 @@ describe Projects::ImportExport::MembersMapper, services: true do
     end
 
     let(:members_mapper) do
-      Projects::ImportExport::MembersMapper.new(
+      Gitlab::ImportExport::MembersMapper.new(
         exported_members: exported_members, user: user, project_id: project.id)
     end
 
diff --git a/spec/services/projects/import_export/project_tree_restorer_spec.rb b/spec/lib/gitlab/import_export/project_tree_restorer_spec.rb
similarity index 59%
rename from spec/services/projects/import_export/project_tree_restorer_spec.rb
rename to spec/lib/gitlab/import_export/project_tree_restorer_spec.rb
index 4c8d182a21313ae05a10ae73ac38b5d1ce99f709..f3d3a57ddd7b7ef3bdcf244a7c61214a0e5c0614 100644
--- a/spec/services/projects/import_export/project_tree_restorer_spec.rb
+++ b/spec/lib/gitlab/import_export/project_tree_restorer_spec.rb
@@ -1,10 +1,10 @@
 require 'spec_helper'
 
-describe Projects::ImportExport::ProjectTreeRestorer, services: true do
+describe Gitlab::ImportExport::ProjectTreeRestorer, services: true do
   describe :restore do
 
     let(:user) { create(:user) }
-    let(:project_tree_restorer) { Projects::ImportExport::ProjectTreeRestorer.new(path: "fixtures/import_export/project.json", user: user) }
+    let(:project_tree_restorer) { Gitlab::ImportExport::ProjectTreeRestorer.new(path: "fixtures/import_export/project.json", user: user) }
 
     context 'JSON' do
       let(:restored_project_json) do