Added namespace.
Extracted classes from Program.
Renamed classes and fields, did some light resharper work.
Cleaned up enough to make resharper happy.