Updated foundation template to 5.1.1

Moved foundation to foundation4 and added foundation5