switching groups page to Foundation classes