only use first item
added automated testing from golang... needs time
cleaned urls
tidy up api
Merge pull request #3 from rdallman/mjs0026-master

only use first item in writeSuccess