Improved the response for creating customer and some code refactor.