Moving elements to its proper places (folders)