Add analysis library