Organize config into loader and envirionment
Add default values to environment config
Use 2-parameter render() instead of loadTempalte()