move package status into its own class