Moved the Handles class to its own file.
Added the Delay handler and tests for it.