have working function that converts strings to booleans
error handling for invalid queries (implemented at the point of failure)
comments/ideas for adding metrics calc to main.cc