Semiinfinite Flags. I. Case of global curve $P^1$