Added rudimentary config file support