Added pic model and pic controller and the loop to print out all db data from pics in the view