Import Foundation

import foundation and edit index with foundation