Restructured the app in codegen friendly way

No dart files in web/ other than main.dart