add json config file and update main activity