Logging data

Logging data to track usage, crashes and have some stats