Foundation 5.4

Updating all files to foundation 5.4 and removing unnecessary
code/classes.