Added visitor.h and accept methods
Added VisitorTest unittest