developing MVC pattern interaction with groups and anchors