Refactor portlet package structure.

@elioschmutz