split stuff from header into main file
add index on idents
tool root