Webapp big refactor

#348
why removed?