How automation changed Singapore into a Smart Nation