removed unused libraries; analytics added (to track service crashes)