Change configuration internals from constants to module attrs

Re #26