implemented thrift service for vm. changed ram image format to list of bytes. changed thrift interface for cpu. changed trift implementation for the simulation