[ADD] draft of db architecture