A Framework for Distributed Database Systems