Implement config parsing (fixes #7)