Set up configuration over-rides, and a standard way to get an instance of Session class.