Imperative Shell, Functional Core