Trying to implement Views class