Create query_processor

Created the file for processing queries