add database and model