Refactored sharding to be sub package of serialization for clean dependencies.
WIP of size based shard refactor