Refactor of dependencies for Sentry. Simplifying it a lot.

Signed-off-by: Ben Corlett <bencorlett@me.com>