created pics controller and pics view with the loop; plus styling