Modifying class UMP: Reducing memory usage. Adding config file.