this is a copy of the OpenModsLib adapted to a proyect that i'm doing