pass in yaml_loader from cli.rb

Signed-off-by: Eric Tsiliacos <etsiliacos@pivotal.io>