load modules dynamically based on the specification; get the state of each module; print the current state of all modules