Start of accordion element and some general housekeeping