Added basic view management. Added test drawing.