Changed to accept the endpoint.
Added lein project file.