added Views class to manage views