Create singleton.py

When we need to run a serial shell commands, and manage them, multiprocessing will help us clean up subprocess. Maybe it will be good method.