Separate Functions

Separated the functions from the module.  Functions are dot sourced
within the psm1 file.