fixed some snippets, add jenkins functions, bug fixes and new packages