restructured directory tree for cross-platform support
initial cross-platform support

windows-specific code has mostly been isolated, excepting input.
os x support is not checked in, but working-in-progress.
updated TODO, made GPL license plain-text