move IRepository to separated file