move keymappter to xml file and add progress bar