Moved the methods to import an old database to a new class.