working db based uploader, early stages