Added basics for interfacing to the database file