add REST API sessions
add REST API sessions and init vm base function
enhance with REST API : poweron poweroff shutdown