reorganize device repo