added getPort + getStarboard and modified CommandBase