updated file for wet-boew-php version 4.0
interm commit for major rewrites for version 4.0