introducing MingleApi factory