Refactor into two files. Add whole word option. Fix results counter.