Added header comments.
Added header comments. Changed name of global var to $pwvc.
Structural changes
Changed module name.
Added or adpated header comments.