Cleaned up web application init