Config reading and storing

Lots of things. Later.