Removed Partition interface
Removed the segment and integrated it in partition
More work on async functionality