Factor loader into a database storer and a batch loader

maybe it does by communicating with the metadatabackend but thats not immediately clear.