moved over fleur B API stuff into separate model