Move Civi api into Figaro