setup postgres and added gems