add ping and stat-log support
remove classes ID and Key
Merge pull request #10 from iderikon/current

add ping and stat-log support