Changed input to take url, and output to return results object via callback

Untested. Can we write a simple test case?