Modified Public class to take environment and callback for YQL queries - they seem to fail without this info now.