Refactor Ntp code into a file