Implemented NTP and refactored Tube logic into its own class