Working prototype
An example portlet + some fixes