Configuration parser, needs fleshing out (also need some way of storing
the runtime?).