Update Program.cs

Made class and methods public.