a class for everything in view