Added resource controller for images and audio