Javadocs for the material package

Signed-off-by: Aleksi Sapon <QcTechs@gmail.com>