DB start build

form structure finshed, and finshed some db manipilate function