QueryRunner class framework, initialize a QueryRunner when initalizing CLI