updated to php, added foundation