This changes the function signature of the constructor but allows us to pass any options. Mainly this is now used for the ipfs configs.