added an option for the method cleanup and destroy refactored
Merge pull request #118 from mrAdm/refactors

added an option for the method cleanup and destroy refactored