Started implementing templates

Changed meta files to json because json is cool.