First draft of the actions thread that calls the OpenNebula methods depending on the received actions