Added modinfo parsing.
Fixed indention