Reorganize source file directories.
Update makefile.
Fix obvious errors in individual modules and stubify DOS dependencies.
Linking still fails.