Create posts model and controller