Introduce QueryResultsWriter as main class.
fixed prefixparsing for queries
Add license.
Update README.