splitting revisitor to new file and updating docs