database and model part is completed.