Create db access functions.
Update file naming convention