Added some testcode, implemented toString in vm, pm and cloud. scheduler a and b