added Post model, setup local postgresql