add extend method; add desktop plugin;
Merge pull request #68 from xieyu33333/master

add extend method; add desktop plugin;