Debugging and language selection for client

Added language selection for client.
Did some Debugging in Controller.js.
...