A simple, object oriented debouncer class.