create posts controller and model