Adding userAgent adapter
Refactoring retry policy adapter usage
Adding functionality to create locator with specified id