fixes #13 - spin down inactive engines

Added an engine factory, we can cold-swap engines very easily once we have another engine to swap to.

Signed-off-by: gburgett <gordon.burgett@gmail.com>