Moved the ability to loadModule into its own method. Future will be able to invoke a loaded modue.