Introduce io interface and std_io