Document Main class

New: documentation for Main methods