First Attempt at Database Upload

Added in functionality for uploading to database