create posts controller & post model