Add missing files, remove ancient buildsystem stuff and stuff where it is unclear where it comes from.