Added config reading.
Forgot to add these files earlier.