Draft for db-architecture