Implemented picture loading