add api for comments
add api for posts
add unittests