diff --git a/class.gallery.php b/gallery/class.gallery.php similarity index 100% rename from class.gallery.php rename to gallery/class.gallery.php diff --git a/index.php b/gallery/index.php similarity index 100% rename from index.php rename to gallery/index.php diff --git a/lang/ru.txt b/gallery/lang/ru.txt similarity index 100% rename from lang/ru.txt rename to gallery/lang/ru.txt diff --git a/module.php b/gallery/module.php similarity index 100% rename from module.php rename to gallery/module.php diff --git a/sql.php b/gallery/sql.php similarity index 100% rename from sql.php rename to gallery/sql.php diff --git a/templates/admin_gallery_edit.tpl b/gallery/templates/admin_gallery_edit.tpl similarity index 100% rename from templates/admin_gallery_edit.tpl rename to gallery/templates/admin_gallery_edit.tpl diff --git a/templates/admin_gallery_image.tpl b/gallery/templates/admin_gallery_image.tpl similarity index 100% rename from templates/admin_gallery_image.tpl rename to gallery/templates/admin_gallery_image.tpl diff --git a/templates/admin_gallery_list.tpl b/gallery/templates/admin_gallery_list.tpl similarity index 100% rename from templates/admin_gallery_list.tpl rename to gallery/templates/admin_gallery_list.tpl diff --git a/templates/admin_gallery_upload_form.tpl b/gallery/templates/admin_gallery_upload_form.tpl similarity index 100% rename from templates/admin_gallery_upload_form.tpl rename to gallery/templates/admin_gallery_upload_form.tpl diff --git a/templates/admin_gallery_upload_form_finish.tpl b/gallery/templates/admin_gallery_upload_form_finish.tpl similarity index 100% rename from templates/admin_gallery_upload_form_finish.tpl rename to gallery/templates/admin_gallery_upload_form_finish.tpl diff --git a/upload.php b/gallery/upload.php similarity index 100% rename from upload.php rename to gallery/upload.php