adding pics model and pic controller