Exposed an init function to allow feeding config into the wrapper