Correction of design errors

I did some errors design while programing with Actors. Actor should
not be mixed up with Java Thread. The scheduler should take care of
periodic execution.