Move segments.core packages out of subdirectories