Added some much needed updates & reorganizing.

Mostly moving a lot of OSX-specific stuff from generic -> osx.

And added some comments, renamed some git stuff. etc.