Refactoring some methods, adding instance requests methods and a global url configuration