Remove old analysis code and libraries