Moving CompositionRoot to core, renaming ReplConsole to IConsole and doing a bunch of necessary refactorings to cut the CR dependencies