add docstrings to api
fix data getter
update readme