some code refactoring to make the redshift functions (executeQuery and such) more independent from the cli
readme