Custom portlet class

Resolves #04