Refactor

Sorry for horrible branch name. This refactoring deals with https://github.com/Clever/sentry-node/issues/2 a structures the code a little more logically.