Created PostController api controller.

resolve #6