add gitignore, add and test mergegroups