created database, model, views and controller posts