Added Foundation. Cleaned out some stuff.