Delete main.xml

Code consolidation