Adding the view command with very basic functionality