moving sound functions to sounds object
adding to sounds object and refactoring globals
pruning global vars
finishing refactor