How to run your own lottery - technology operations