Transfer from HTML to ASP.NET. Refactor code, rework the files' structure