Slotmachine, State pattern with a use of Command pattern and Observer