Added code to load modules

Began implementation of loading dynamic widgets.