ScheduledTask better thread-safeness

removed Observable module and added the thread safe CopyOnWriteObserverSet
code refactoring