Add config and migration

@Pico 
Great. Can you also update the example code here from X's to 0's too please.