added refactoring and added FileQueueHandler (not Ended)
demo without stop and restart command.
Merge pull request #4 from NKozlov/NKozlov.dev

from Nkozlov.dev