Detect and link libyaml
First version of config API