refs #25. implement the common resource package
refs #25. add some page view.
Merge pull request #26 from jcrom/master

merge with trunk