Refactor drawing and updating code into a PaperViewController