moved options to left
changed addListeners back to addListenerOnces to stop them from multiplying
added integration testing
Merge pull request #56 from sgray11/integration_testing

Integration testing