Added screenshot capture class