Add Phoenix.Endpoint

Ready for review.