Added Picture class and getFirstPicture method