providing and operating necessary facilities in ports and maintaining, improving and regulating the use of the ports