Revert "WebAPI and other stuff"

This reverts commit 5e1c7110aaa4cf713ccff0224a53c6b97f1b1aeb.