posts controller
adding routes and controller