title: How a singelton works in a static function and how it serves as a command in a class
body: <p>I do not know how a singleton has functionality in a class</p>
  
  <p>I have tried its function and its state but it still doesn't execute the program for me if I do so. </p>