Moving the rendering code to a separate project