you can take this entire file out -- MainView serves no purpose, and you can just directly create MainViewUI