I would like to understand which is the proper way of structuring my code. I have created a Singleton class for video processing (detecting silences) and storing its process