refactor: cleanup configuration class usage