I believe you need the first main MXML file but beyond that you could do it all using
Code Behind. This is what I do. I'm still using MXML and just having it reference my base classes but you could it it this way without any MXML beyond your app mxml.