Moved the rendering itself to a separate package.