Controlling the operation of the ship and care for personel on board and the marine environment