moved more methods to view.prototype
moved methods to View.prototype as a batch instead of individual