refactor and added .groc.json