Add config parsing

- add read_config for reading config file
- change host to address