Add state in the docs and make it a required option.

I've added state into the documentation and altered the example.  I've also made state a required option for the module.