Updated to Foundation 5.0.3 and reorganized some files.