Refactoring the build system, part 2

Modified the module loading system to allow more flexibility.