Analytics: add, query, __init__ implemented