Moved DB listeners to own directory
Added db listener to upload files.