factor out splitter package