Added templates loader