A bit of progress. Still not functional.
Added a few missing files.