Cube - a universal virtual machine