Cleans up all the "MakeDelegateClass" functions and removes the obsolete "macoslibModule".
Merge pull request #102 from tempelmann/master

Cleans up all the "MakeDelegateClass" functions and removes the obsolete "macoslibModule".