Moving MADS Topic definition into a module
Breaking out core MADS functionality into separate module