Removes duplicates from requirements
Code refactoring