adding a .json file to get template sources from instead of hard coding