add Loki library