A framework to segment data from mixpanel via the API.