Revert "Added factory class for lotteryprovider"

This reverts commit cc821bafdd4f2b819df406ee20cf3a29f661b08a.