added module pack logic for quick extensibility
completed submodule stuff