create template load libraries