paulkim6 jcheng26: wrote connection to database. Still debugging.