added Package persistence, added classes persistence