Major refactoring of the Smuggler codebase to ensure we can deal with files and databases in the same fashion.