Added the json library to be jasson.
Move _run_script to common and implement the infrastructure
to run command to get bb output.