Remove unused files.
Fix headers to be usable standalone.