initial version upload.

failover is tested. sharding is not yet tested.
automatic sharding is not implemented.