Refactored web app bootstrap