Reworked code transforming a draft into provenance to make it easier to
test and modify. Updated API calls. Started testing through the website.