add unite source
use function to invoqe unite
simple test for unite interface
Merged unite source by Skeept.