added new boost property tree constructor to set the ptree directly