Merge pull request #391 from ping19/master

New class containing the pack methods+Others