Added support for multiple words query

-added multiple words query support