[BUGFIX] Replace Foundation with working files

Due to a compilation error in foundation the previous added files were corrupt