Updated Coredata for screenshots, add screenshot related codes