Initial framework for distributed database