initial design for index,show and edit agency
adds @ppmp.code for alert messages