move version.hh to src/lw
add version info to PLibrary.hh and PLibrary.cc when writing