Add packcursors and unpackcursors command line tool