initial import
Extracted some constants.
Removed Pauser.  It would not work in this version due to the lack of a service to keep the static variables alive.