minor changes, got rid of api for uploading stuff in favor of just connecting to database directly