add javadoc for constructors