created Post controller and model and Home controller