Webapp big refactor

#348
typo in method name