remote unused code
add libpg code
integrate libpg