Added support to grab query results from controller. Also added 2 cucumber scenarios for this feature.