change orgate.cs constructor to public