What you will include in each of your frontend files will largely depend on what your module is supposed to do. A module can access any model files that already exist in OpenCart, you do not need to write your own database queries if the same query already exists. You will find four folders within the admin/ folder: controller view language model All modules will require at least a single file in each of the view and controller folders. The easiest way to create your view file is to copy and paste an existing, similar view file, and edit the form to contain the correct fields for your module’s configuration options. For more information on loading files see Loading files in the controller.