Move Loki to jf-common