Finished preliminary testing of DB class. Also refactered paramDict into four seperate functions and put in own file. Updated comments.