adding helper queries
removing db module dependency
adding script to generate convert to order csvs