refactoring mqtt

simplifying mqtt implementation by removing some unused interfaces, not important kind of inheritance