Removing the mainModule function. No longer used