create dom and element folders