Implemented web-app initialization.