added a view class like the one in vim.  Cleaned up the Connection class to be editor agnostic