Added callbacks for maincontroller start / stop