Splits loaders into cursor and api, adds refresh policy