Fixes and cleanup

Fixed error in enableModule and enableModuleAndDependencies
Checkstyle fixes
Removed compile time dependencies on logback.