Webapp big refactor

#348
change into javadoc comments