Webapp big refactor

#348
lack of documentation (for class and logic methods)