new package for standalone hit stats

package for calculating hits stats for standalone applications.
If we will put it from the server side then the loading on the client
side will be quicker but we have to send the required data structure for
it, not big just a matrix of integer.