1) Added constructor for Query class
2) Added serializer