Automatic Control and Routing of Marine Vessels