Move post controller under api.