Refactored the CLI
Refactored the spawner / build a pidManager