Fixed indentation of inc and rest scripts, and added REST boilerplate for groups.