add createVM endpoint (basic structure) with tests