add MainService and then insert into MainCtrl