Reorganized 5 and cleaned code.