Add license statement, and for some classes further documentation