Config file parsing

First stab at config file parsing code