Integrated analytics into module
Added half-proper docs