Restructuring code from modules to package

Unfortunately, I don’t fully understand your issue, but I believe I can point you to some useful resources.

I recently wrote a high-level overview of modules & packages in an attempt to alleviate confusion:
Could we make first-class support for packages that are "just files" and not repositories? - #20 by MA_Laforge

Somewhat similar (but less well explained in my opinion - read this last - if at all):
How to add a folder path in your .jl script - #8 by MA_Laforge

Creating your first package (incl. file organization)
How does the module system actually work? - #3 by MA_Laforge

Tips for include vs import/using
Proper way of organizing code into subpackages - #3 by MA_Laforge

Tips for directory structure/LOAD_PATH
Proper way of organizing code into subpackages - #4 by MA_Laforge

Link to more relevant threads:
Proper way of organizing code into subpackages - #5 by MA_Laforge