move CPANfile load out of CLI
remove unused code