Porting import project wizard to Scala