move class structure to root