now actually adds line to output
changed Listener to ClientHandler
renamed stuff