Cleaned up import command code base.
It can handle smaller titledb XML files.