added initial version of the slot machine api