Added resources management class.