added engine to service root, refactored ReplCommand to grab engine off the root