Got Doc API to work
Document api beta version- woo hoo