Change configuration internals from constants to module attrs