Made it work as a webapp