add sample apis
remove un-needed var()
Merge pull request #7 from sent-hil/master

add sample apis