add astnode_id_cache in database class
change usage description
throw duplicate token type
only keep cache in current file
add console progress bar