[TIC-UI] add config file and modified the RESTful API handled by the server