Finalize working implementation, bump to 5.2.1 (the embeded foundation version)