adding foam as submodule