Get key as an argument.
Fixes and improvements.
Removed port and key info from index.html