reorganizing functions
moving everything into a game namespace
pull lever done, now working on reset button
finish reset button event
trying to reset animations
game is working again, so removing globals for good!
wrapped everything in an IIFE, so globals are gone