add javadoc to components class