move crud to lib/Renderer