added smarter render method to pass in variable templates
bumped version, code cleanup