Make it build.
Base refactoring is done.
Update trampolines.
Remove unused files. It looks like old attempts to write DebugLib.