Refactored code to store customer details in hashmap and also added create and delete resource