Config separated to different classes  with sepecific functionality.