Refactor calling CommandFactory through static instead of singleton
Succeeded getting nested imported shell scripts as modules working.