Added SqlViewRepository, virtualised functions in Manager