creating the pics controller and the pics view with the loop; plus some styling