making delay parameterized.  changing message name
fixed imports
added supervisor spec