Initial models
restored comments
Basic code to increment counters