created mainUI & added resources