Added factory class for lotteryprovider