Improved README with api docs and other fixes