clock: added thread synchronization. corrected docs
analog: separated analog components into separate file