Adding the endpointer class