working on yaml config
done with yaml config parsing, some cleanup