beginnings of render api

Here are the beginnings of the render API.