created PostsController, Post model; updated database, migration and routes