Slicebase refactor into slicecore