Merge pull request #18 from szagoruyko/master

Added groups option