Added config manager and API for it.
Added API method for shutting down Marta.