Attempt to recreate the source for majormud using C#