Added posts model and view templates