Add database design doc