[server] concentrated key differences into 2 functions

	nodejs has a very similar interface for all servers, so the key
	listener differences are server creation and how the data comes in
[server] created class to handle common server code
[server] changed UI-server to use new ctrl class
[server] removed code for older listener control
[server] renamed init to create