reorganized code dir.