add db design doc
finish some model