Changed picture format and created controler for views