Added API doc as comments

Signed-off-by: Daniel Koo <danieljamin.koo@gmail.com>