Make version part of base url and add a getResult function