We should not have two different ModuleDefinition classes within XD (there is already the one used by the ModuleRegistry which is in the org.springframework.xd.module package)