Add build disabled flag to turn off builds temporarily
Fix parsing of modules to correct the import of maven2 sub modules
Fix potential class cast exception