Added Curs::init() method for the static library call
Added examples for api calls