Implement output, tidy up README, abstract YOURLS