added pauseScreen class

and a pause state in the enum