new classes for managing resources