Fixing the URL in the rakefile
Made the api_server settable so that you can run in different environments
Adding api version to the API path