refs #25. Implement package the common resource.
refs #25. implement the plugin package
Merge pull request #27 from jcrom/master

merge with trunk