Update to package handling - added a lot of data types as well as
appending / popping data. This is now brought up to speed with the
python side.