improved API for web interface link resolving
first version of web interface