Add a data base configuration per each execution mode
Move code to update virtual machine state into a separate method
Update virtual machine ips