Move /var in /frontend
Improve router functionalities
Web server and API response to the same port