documentation of Main classes