Moved the DatabaseResult implementations to their own files