Removed Directive; shifted controller to MainCtrl