code now uses angularjs

pageWriter.php was changed into groupStatusesWriter.php, which writes json data to a file