Refactor Dellete method
Refactor - separate library and unit test project