feat(tpl): declare integer variables as such
feat(service): implement 'trickle' throttle mechanism

fixes #44