move current drawing code to BoardRenderer class