add posts controller
add post model