Added a way of creating css and js links and also the base path of the application, so it does not have to be changed in javascript, only in the config file