Rudimentary rendering class and viewport control