converted database to postgresql AND added student model