Remove dependencies from System

Removing the things I needed from C# (for the most part).