Creating the panel manager