Refactored mqtt worker and controller. Also remove hard coded topics