making ports constructor public to set values to start the container