implemented add function, to add a group on the commandline