Adding view to repemps
Fixing estructures on repemps to accomodate datbase model