Remade Package code so that it can be reused. Unbroke the game.