doc string
Rename vars and check for required options
Export module, or add to global
Rename export, moved timeout into options