db connection pulled from config .ini file rather than hardcoded