First prototype of vm creation dialog and refactoring of vm-create.pl