Create Wfh namespace

This change creates a Wfh namespace and puts the Cli class under.  We
also create a Lib class and move existing methods underneath (as class
methods)