Full-featured Mesh class, abstracted from the Device