added posts model and views