Initial commit of database interaction