mid ceanup
cleanup of lib and packaging