Structuring the web application