removed submodule Foundation, and brought it into the project