Smart ship