Update main.lib

Remove the requirement to set the library directory in main.lib. Updated main.lib to load all libraries if no arguments are specified, or to take arguments to only load specific modules.