added png generation also to CPP codegen and added missing package deps
updated readme generation for cpp and python