cleaup
made it possible to configure ports (undocumented so far)