apply PVT function changes.
Add license and documentation.
add license statement.