some changes to remove the last direct put request in the TSDB, right now one can set the specific counter. This might not be great in the long run since it is supposed to be only set to 1. Might change this before merging.
removed unused imports