Major Improvements

Update to Foundation5 + Recode out-dated parts