Create mode.cs