Rutine for deling, pinning og mappestruktur