Split keytracker into separate file.