refactor file inclusion, move info to calcrule unit