Added generic repository bean so that each module doesn't have to add it.