added secure handling for ?authToken
Added some handling for something. Also added a server start script.
Removed some old code.