ignore node modules
remove extra api file
refactor api format
update docs for new client initialization