Remove useless imports.  Add json config intergration.