Completed parser class. Made all constructors public in the query class.