Render functionality

Replaces PR #105