Added quiz logic to mainCtrl