cleanups
made Render class for paint tool