make things run through settings and stored in a session object.
intermediate checkin to share code with central server.