add groups spec, delete useless files