Refactor out sysconfig handling

```@sys_agent``` is an implementation detail of the class. We should try to not influence the design of the class API with implementation details when possible.