The repository is a short lived object and should be used for a short time. Adding factory method that creates a new instance of the repository rather than having single instance.