Adds boilerplate for lanterns example.
Adds rvalue constructor.