refactor to platforms and vms, add clone_factory and platform tests
add clone factory delete test
add server tests