Add foundation lib