Added foundation initialization and change table structure to a foundation accordion