Implemented New rolling shard algorithm.  This should allow eventual shard consistency between all clients without the need for an external locking allocation system

Cleanup of code