Factory Demo COde

Add the factory demo code so users can get the Bean back to what it was
out of the box