Refactor #1 - initial moves

Refactor SDL/Cocoa code into posix folder