Passed widget object into widget creater. Made API key and version attributes on the widget object.
Updated readme.