Change url structure to more like gem and move path code to config