Added modinfo to the main class