calendar: rewrite for new AngularJS MVC Concept; streamline stages and tasks loops