Switch to Foundation 5. Closes #2