Added keyrelease when disconnecting client.

Added license text to source files and terminal output