Got the clearpackages and addpackage working
Started on the template