master: add the ability to not load foundation