added docstring and changed api object to 'basis'
modified readme with basic usage