Create PostRepository class
Create PostController service