- fixed bug in create_vm when checking available networks
- profiling
- refactoring