Move configuration into a configurable trait and interface