Creating the pics controller and the pics view