moved attributes to __init__

#159
handling NTP errors