WebAPI Refactored (untested, webfront remains)
bugfixes and update of frontend after refactoring
Merge pull request #1 from Elfdalia/RefactorAPI

Refactor api