Implement EJS partials, templating, and data.

This implements an EJS rendering system, allowing for templating and reducing repetition.