Refactor and add comments to multiple files

1) Klicks.js
2) Request-handler.js
3) Server-config.js