restore a few modules in webapp
refactore parameter module (WIP)
various changes and fixes