Filled in the basics of the VirtualMachine

@rbsloot @TimManders for review.