db install and crud