Create apiconnection.cs