Refactored the application to include the web directories and basic web files