Implementing interfaces/classes for rendering 2dCanvas