Added sample usage and API