Initial commit of codebase. All compiles on win32.