Added a new class to handle a new endpoint