count and increment events
protected functions renamed
json file config
string type added