Beginning to add database access code.