added generic repository

generic repo interface for database access