adding the pix controller and the view and styling code