Oops
Little reorganization.
Added a little OS compatibility layer which right now just wraps some file functionality. Also haven't implemented the Posix side of it yet.