pulled database connection stuff into new class
added import into parser