Added analytics. Closed #37.