added new class for all api endpoints