Genrated Post Model and controller