Javadoc added

The class actor has got Javadoc.