Refactored the jetpack so its functionality is now in its own class.