loading cowcrypt libs in main template