Refactored VjView class and added documentation