Refactor Server constuctor

Keep track of token and url in order to make requests later

Construct by id, and construct server url properly