update readme, example and exporting the module