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
minor re-factor - Issue #118