includes repository approach with annotation and cofigxml