updated readme to include api documentation