Create agent class and basic file config handling