Added database and model