restructed program, added SiLog, removed case sensitivity from rename method