basic structure for the portLib