Revert "Move over to foundation and fix fatal proc bug"

This reverts commit 4df407ce0b52cab60685b3d2a2e6cddb121a6478.