added analytics

added basic implementation of ANN in analytics/