Added libraries and template files