Add endpoints and better documentation