Added abstract repository and additional constructor to abstract forms