endpoints as a separate module/dictionry