refactored tasks into TaskManager

splitting task from currlevel into taskmanager
and making animation for stars