[refactor] remove base_visitor.py