[refact] Separated NTP to own source file.